package com.ziyun.erp.common.e.message;

import com.ziyun.erp.common.e.BaseEnum;

/**
 * 消息类型枚举
 * @author zh
 * @date 2018/8/1315:31
 */
public enum MessageTypeEnum implements BaseEnum {
    SYS_MSG("xitong", "系统消息"),
    JF_MSG("jiangfa", "奖罚消息"),
    YX_MSG("yingxiao", "营销消息");

    private String code;
    private String describe;

    MessageTypeEnum(String code, String describe) {
        this.code = code;
        this.describe = describe;
    }

    ;

    @Override
    public int toInt() {
        return 0;
    }

    @Override
    public String toCode() {
        return code;
    }

    @Override
    public String toDescribe() {
        return describe;
    }
}
